projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7387a8
)
gl: Log creation of glyph caches
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 2 Jun 2019 20:52:26 +0000
(20:52 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 3 Jun 2019 02:09:04 +0000
(
02:09
+0000)
Now that they can be of different sizes, this
is somewhat interesting.
gsk/gl/gskglglyphcache.c
patch
|
blob
|
history
diff --git
a/gsk/gl/gskglglyphcache.c
b/gsk/gl/gskglglyphcache.c
index d540d76c1ed9373120d2a53d8357056e2e6a25a3..37e468eb0e410d098f61ceaf2133ac8471ba4502 100644
(file)
--- a/
gsk/gl/gskglglyphcache.c
+++ b/
gsk/gl/gskglglyphcache.c
@@
-33,7
+33,7
@@
static void glyph_cache_key_free (gpointer v);
static void glyph_cache_value_free (gpointer v);
static GskGLGlyphAtlas *
-create_atlas (GskGLGlyphCache *
cache
,
+create_atlas (GskGLGlyphCache *
self
,
int width,
int height)
{
@@
-47,6
+47,8
@@
create_atlas (GskGLGlyphCache *cache,
atlas->x = 1;
atlas->image = NULL;
+ GSK_RENDERER_NOTE(self->renderer, GLYPH_CACHE, g_message ("Create atlas %d x %d", atlas->width, atlas->height));
+
return atlas;
}